package com.ruoyi.fangyuan.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 预约房源对象 tb_room_reservation
 * 
 * @author ruoyi
 * @date 2023-04-23
 */
@Data
public class TbRoomReservation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 房源列表外键 */
    @Excel(name = "房源列表外键")
    private String roomId;

    /** 租客列表外键 */
    @Excel(name = "租客列表外键")
    private Long customerId;

    /** 预约人 */
    @Excel(name = "预约人")
    private String showingsName;

    /** 预约人性别 */
    @Excel(name = "预约人性别")
    private Long showingsSex;

    /** 预约人手机号 */
    @Excel(name = "预约人手机号")
    private String showingsMobile;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 预约时间 */
    @Excel(name = "预约时间")
    private String reserveTime;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long reserve1;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long reserve2;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String reserve3;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String reserve4;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String reserve5;

    //房源名称
    @TableField(exist = false)
    private String roomName;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setRoomId(String roomId) 
    {
        this.roomId = roomId;
    }

    public String getRoomId() 
    {
        return roomId;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setShowingsName(String showingsName) 
    {
        this.showingsName = showingsName;
    }

    public String getShowingsName() 
    {
        return showingsName;
    }
    public void setShowingsSex(Long showingsSex) 
    {
        this.showingsSex = showingsSex;
    }

    public Long getShowingsSex() 
    {
        return showingsSex;
    }
    public void setShowingsMobile(String showingsMobile) 
    {
        this.showingsMobile = showingsMobile;
    }

    public String getShowingsMobile() 
    {
        return showingsMobile;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setReserveTime(String reserveTime) 
    {
        this.reserveTime = reserveTime;
    }

    public String getReserveTime() 
    {
        return reserveTime;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setReserve1(Long reserve1) 
    {
        this.reserve1 = reserve1;
    }

    public Long getReserve1() 
    {
        return reserve1;
    }
    public void setReserve2(Long reserve2) 
    {
        this.reserve2 = reserve2;
    }

    public Long getReserve2() 
    {
        return reserve2;
    }
    public void setReserve3(String reserve3) 
    {
        this.reserve3 = reserve3;
    }

    public String getReserve3() 
    {
        return reserve3;
    }
    public void setReserve4(String reserve4) 
    {
        this.reserve4 = reserve4;
    }

    public String getReserve4() 
    {
        return reserve4;
    }
    public void setReserve5(String reserve5) 
    {
        this.reserve5 = reserve5;
    }

    public String getReserve5() 
    {
        return reserve5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("roomId", getRoomId())
            .append("customerId", getCustomerId())
            .append("showingsName", getShowingsName())
            .append("showingsSex", getShowingsSex())
            .append("showingsMobile", getShowingsMobile())
            .append("userId", getUserId())
            .append("reserveTime", getReserveTime())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .append("reserve1", getReserve1())
            .append("reserve2", getReserve2())
            .append("reserve3", getReserve3())
            .append("reserve4", getReserve4())
            .append("reserve5", getReserve5())
            .toString();
    }
}
